Method and device for managing messages in a communication device

ABSTRACT

A method of managing messages in a communication device is disclosed. The method includes receiving messages through a communication device. Critical messages may be determined by identification of one or more critical content in the one or more messages and analyzed based on the context and content associated with the critical messages. A priority for each of the critical messages may be generated by assigning vocabulary weight to the critical content and a context weight to the critical message. The critical messages may be queued based on their respective priorities. Dynamic allocation of resources by adjusting at least one of buffer, and packet delay associated with the communication device based on the priority of the one or more messages in the queue is done. The one or more messages in the communication device may be managed based on the queuing and the dynamic allocation of resources.

TECHNICAL FIELD

The present subject matter is related, in general, in general toprioritizing messages for communication over wireless systems, and moreparticularly, but not exclusively to a method and device for managingmessages in a communication device.

BACKGROUND

In devices such as laptop, server or router that is connected tointernet, when multiple connected applications are running, or multiplemessages are being received, they compete for the common resources.Unless the applications, and consequently the data packets involved inthe application, are assigned with priorities, it is not possible toexecute any of the applications optimally. At present there is amechanism to assign priorities to packets of certain applications suchas tele-surgery data packets, ambulance data packets, real-timecommunication related data packets (RTP/SIP based calls) and the like tocarry defined high priority. Further, there are some mechanisms fordata/message priority scheduling, like storing messages in distributedbins and setting the individual bins priority, bandwidth-based priority,priority based on information source or recipient, priority based onload balancing of content type for sender & receiver.

However, presently importance is not given a user-based message datathat might be critical at times. Delaying or denying connection to sucha user messages may lead to unintended consequences, especially duringcritical/emergency situations. In prior art, priority of transmission ofemails is assigned based on relative significance/associations of wordspresent inside the emails content is known. Performing actions tomessages is set by using Natural Language Processing (NLP) foridentifying the event and relating the event to performing an actionpertaining to the event like summarizing open questions pertaining tothe event, summarizing event details, identifying popular answers,generating response lists, automatically sending reminder messages,updating calendars, etc. However, the mechanism does not prioritizemessages and manage resources accordingly.

Further limitations and disadvantages of conventional and traditionalapproaches will become apparent to one of skill in the art, throughcomparison of described systems with some aspects of the presentdisclosure, as set forth in the remainder of the present application andwith reference to the drawings.

SUMMARY

According to embodiments illustrated herein, there may be provided amethod of managing messages in a communication device. The method mayinclude, receiving one or more messages through a communication device.The method may include, identifying dynamically one or more criticalcontent in the one or more messages and determining one or more criticalmessages based on the identification. The method may further include,generating a priority to each of the one or more critical messages basedon the analysis. The method may include, analyzing the one or morecritical messages based on the content and context associated with theone or more critical messages and assigning vocabulary weight to each ofthe one or more critical content and a context weight to the criticalmessage. The method may include, generating a priority to each of theone or more critical messages based on the analysis. Further, the methodmay include queuing the one or more messages based on the priority ofeach of the one or more critical messages. Further, the method mayinclude dynamically allocating resources by adjusting at least one ofpacket buffer, and packet delay associated with the communication devicebased on the priority index of the one or more messages in the queue.Further, the method may include managing the one or more messages in thecommunication device based on the queuing and the dynamic allocation ofresources.

According to embodiments illustrated herein, there may be provided adevice for managing messages in a communication device. The device mayinclude a processor communicatively coupled to a memory. The memory maystore processor-executable instructions. The processor may execute theprocessor-executable instructions to receive one or more messages via acommunication device. The processor may execute the processor-executableinstructions to identify dynamically one or more critical content in theone or more messages and determining one or more critical messages basedon the identification. The processor may execute theprocessor-executable instructions to analyze the one or more criticalmessages based on the content and context associated with the one ormore critical messages and assign vocabulary weight to each of the oneor more critical content and a context weight to the critical message.The processor may execute the processor-executable instructions togenerate a priority to each of the one or more critical messages basedon the analysis. The processor may execute the processor-executableinstructions to queue the one or more messages based on the priority ofeach of the one or more critical messages. The processor may execute theprocessor-executable instructions to dynamically allocate resources byadjusting at least one of buffer, and packet delay associated with thecommunication device based on the priority index of the one or moremessages in the queue. The processor may execute theprocessor-executable instructions to manage the one or more messages inthe communication device based on the queuing and the dynamic allocationof resources.

According to another embodiment illustrated herein there may be provideda non-transitory computer readable medium including instructions storedthereon that when processed by at least one processor cause theprocessor to receive one or more messages via a communication device.Further, the instructions may cause the processor to identifydynamically one or more critical content in the one or more messages anddetermining one or more critical messages based on the identification.Further, the instructions may cause the processor to analyze the one ormore critical messages based on the content and context associated withthe one or more critical messages and assign vocabulary weight to eachof the one or more critical content and a context weight to the criticalmessage. Further, the instructions may cause the processor to generate apriority to each of the one or more critical messages based on theanalysis. Further, the instructions may cause the processor to queue theone or more messages based on the priority of each of the one or morecritical messages. Further, the instructions may cause the processor todynamically allocate resources by adjusting at least one of buffer, andpacket delay associated with the communication device based on thepriority index of the one or more messages in the queue. Further, theinstructions may cause the processor to manage the one or more messagesin the communication device based on the queuing and the dynamicallocation of resources.

The foregoing summary is illustrative only and is not intended to belimiting in any way. In addition to the illustrative aspects,embodiments, and features described above, further aspects, embodiments,and features will become apparent by reference to the drawings and thefollowing detailed description.

BRIEF DESCRIPTION OF THE ACCOMPANYING DRAWINGS

The accompanying drawings, which are incorporated in and constitute apart of this disclosure, illustrate exemplary embodiments and, togetherwith the description, serve to explain the disclosed principles. In thefigures, the left-most digit(s) of a reference number identifies thefigure in which the reference number first appears. The same numbers areused throughout the figures to reference like features and components.Some embodiments of system and/or methods in accordance with embodimentsof the present subject matter are now described, by way of example only,and with reference to the accompanying figures.

FIG. 1 is a block diagram that illustrates an exemplary systemenvironment in which a method and device for managing messages in acommunication device may be implemented;

FIG. 2 is a block diagram that illustrates an intelligent messengerdevice in accordance with some embodiments of the present disclosure;

FIG. 2 A is a block diagram that illustrates the prediction of bufferavailability for managing messages in accordance to some embodiments ofthe present disclosure;

FIG. 2B is a block diagram that illustrates the generation of priorityin accordance to some embodiments of the present disclosure;

FIG. 2C is a block diagram that illustrates the managing of messages inaccordance to accordance to some embodiments of the present disclosure;

FIG. 3 is a flowchart illustrating a method of managing messages in acommunication device, in accordance with some embodiments of the presentdisclosure; and

FIG. 4 is block diagram of an exemplary computer system for implementingembodiments consistent with the present disclosure.

It should be appreciated by those skilled in the art that any blockdiagrams herein represent conceptual views of illustrative systemsembodying the principles of the present subject matter. Similarly, itwill be appreciated that any flow charts, flow diagrams, statetransition diagrams, pseudo code, and the like represent variousprocesses which may be substantially represented in computer readablemedium and executed by a computer or processor, whether or not suchcomputer or processor is explicitly shown.

It should be appreciated by those skilled in the art that any blockdiagrams herein represent conceptual views of illustrative systemsembodying the principles of the present subject matter. Similarly, itwill be appreciated that any flow charts, flow diagrams, statetransition diagrams, pseudo code, and the like represent variousprocesses which may be substantially represented in computer readablemedium and executed by a computer or processor, whether or not suchcomputer or processor is explicitly shown.

DETAILED DESCRIPTION

The present disclosure may be best understood with reference to thedetailed figures and description set forth herein. Various embodimentsare discussed below with reference to the figures. However, thoseskilled in the art will readily appreciate that the detaileddescriptions given herein with respect to the figures are simply forexplanatory purposes as the methods and systems may extend beyond thedescribed embodiments. For example, the teachings presented and theneeds of a particular application may yield multiple alternative andsuitable approaches to implement the functionality of any detaildescribed herein. Therefore, any approach may extend beyond theparticular implementation choices in the following embodiments describedand shown.

References to “one embodiment,” “at least one embodiment,” “anembodiment,” “one example,” “an example,” “for example,” and the likeindicate that the embodiment(s) or example(s) may include a particularfeature, structure, characteristic, property, element, or limitation butthat not every embodiment or example necessarily includes thatparticular feature, structure, characteristic, property, element, orlimitation. Further, repeated use of the phrase “in an embodiment” doesnot necessarily refer to the same embodiment.

Present disclosure relates particularly to the managing messages in acommunication device by priority scheduling of messages based on contentand context of a message provided by an user and dynamic allocation ofresources. The content and the context determine the nature ofcriticality of the messages. Instead of static/rule based priorityassignment to a message, the criticalities of other messages in thedevice are also considered. For content and context analysis usergestures, emotions are taken into account. E.g. if a person is speakingto doctor anxiously about chest pain, the messages and connection areassigned high priority.

FIG. 1 is a block diagram that illustrates an example environment 100 inwhich various embodiments of the method and device for managing messagesin a communication device may be implemented. The environment 100 mayinclude communication devices such as user device 102 and user device108 and a router 106. The communication devices such as 102 and 108communicate with each other in the environment 100 through acommunication network 104 comprising of router 106. In this exemplaryscenario the user device 102 is hosting an intelligent messenger device102A, in accordance to some embodiments of the present invention. It maybe noted that the intelligent messenger device 108 may be hosted by anycommunication device such as mobile phones, routers and the like that iscapable of transmitting and receiving messages via a communicationnetwork such as communication network 104.

In accordance to some embodiments of the present disclosure, thecommunication network 104 may correspond to a communication mediumthrough which communication devices such as mobile device or telephonemay be connected and may communicate with each other. Such acommunication may be performed, in accordance with various wired andwireless communication protocols. Examples of such wired and wirelesscommunication protocols include, but are not limited to, TransmissionControl Protocol and Internet Protocol (TCP/IP), User Datagram Protocol(UDP), Hypertext Transfer Protocol (HTTP), File Transfer Protocol (FTP),ZigBee, EDGE, infrared (IR), IEEE 802.11, 802.16, 2G, 3G, 4G cellularcommunication protocols, and/or Bluetooth (BT) communication protocols.The communication network 104 may include, but is not limited to, theInternet, a cloud network, a Wireless Fidelity (Wi-Fi) network, aWireless Local Area Network (WLAN), a Local Area Network (LAN), atelephone line (POTS), and/or a Metropolitan Area Network (MAN).

In the example environment 100 the user device 102 is a mobile devicethat is in communication with user device 108 via the communicationnetwork 104. In an alternate scenario, the intelligent messenger device(IMD) 102A could be within communication devices such as user device 108or router 106. In some embodiments, an intelligent messenger device suchas IMD 102A is integrated to a communication device such as user device102, router 106 or user device 108.

In an embodiment, user device 102 is in communication with user device108. The messages are transmitted via the communication network 104. Inthis exemplary scenario, as depicted by system 100, the intelligentmessenger device 102A is located at the user device 102 and whichdetermines critical messages. The intelligent messenger device 108 mayreceive one or more messages via a communication device which is herethe user device 102. The intelligent messenger device 102A may identifydynamically one or more critical content in the one or more messagesthat have been received in the router 108 and determine one or morecritical messages based on the identification. The intelligent messengerdevice 102A may further analyze the one or more critical messages basedon the context and content associated with the one or more criticalmessages and assigning vocabulary weight to each of the one or morecritical content and a context weight to the critical message.

The intelligent messenger device 102A may generating a priority to eachof the one or more critical messages based on the analysis and queue theone or more messages based on the priority of each of the one or morecritical messages. In some embodiments, historical information, presenceof one or more critical messages in the packet buffer and availabilityof the packet buffer associated with the communication device may beconsidered while queuing the messages. Further, the intelligentmessenger device 102A may be dynamically allocating resources byadjusting at least one of packet buffer, and packet delay associatedwith the user device 102 based on the priority of the one or moremessages in the queue. The intelligent messenger device 108 thereforemanages the one or more messages in the user device 102 based on thequeuing and the dynamic allocation of resources. In the presentexemplary system environment as depicted by FIG. 1, the user device 102may further transmit the messages based on the queuing and the dynamicallocation of resources. In some alternate embodiments, thecommunication device such as user device 108 hosting the intelligentmessenger device such as Intelligent messenger device 112A may beconfigured to receive the critical messages in the communication devicebased on the queuing and the dynamic allocation of resources.

It may be noted that in some embodiments, an intelligent messengerdevice such as IMD 102A may be implemented in a communication devicewhich may be a smartphone, computer, laptop, tablet, phablet, router andthe like. In an example, the intelligent messenger device may beimplemented in router 106 where it may receive the messages fortransmission. In an alternate embodiment, where the intelligentmessenger device 108 is implemented within the user device 108 which maybe a smartphone, computer, laptop, tablet, phablet and the like, whichis the recipient of the one or more messages that are being transmittedfrom user device 102, the intelligent messenger device may receive theone or more messages via user device 108 which is a communicationdevice. The intelligent messenger device, in such implementation, may beconfigured to display, communicate or alert the one or more criticalmessages to the user B on priority by queuing based on the priority ofthe one or more critical messages and dynamic allocation of resources.

In the exemplary scenario associated with the FIG. 1, user A of userdevice 102 may be communicating with user B of user device 108. User Amay be experiencing severe chest pain and explaining the problem to userB who is a doctor. While User A is narrating to User B on the healthissue, the mobile connectivity may experience issues and become veryslow due to an auto update or a video download happening in thebackground on user device 102. In this scenario, the intelligentmessenger device 102A in the user mobile phone such user device 102 mayreceive the one or more messages queued for transmission. Theintelligent messenger device 102A may be capable of determining thecriticality of message based on identification of one or more criticalcontent in the one or more messages.

in an example, the user may utter words like “I am experiencing greatpain near chest”. The word “pain” and “chest” may trigger urgency andqualify the message as a critical message. The intelligent messengerdevice 102A may analyze the one or more critical messages based on thecontext and content associated with the one or more critical messagesand assign vocabulary weight to each of the one or more critical contentand a context weight to the critical message. This message “I amexperiencing great pain in my chest” may be further analyzed for contentand context and a priority may be assigned. The intelligent messengerdevice 102A may generate a priority to each of the one or more criticalmessages based on the analysis. Further, the intelligent messengerdevice 102A may queue the one or more messages based on the priority ofeach of the one or more critical messages.

Further, resources may be dynamically allocated by the intelligentmessenger device 102A, by adjusting at least one of packet buffer, andpacket delay associated with the user device 102 based on the priorityof the one or more messages in the queue. In some embodiments,adjustments of buffer and packet delay are made a few time steps aheadby predicting the buffer occupancy based on the rate of inflow andoutflow of packets. It may not be possible to accommodate new datapackets when the buffer is full. Based on this prediction, low prioritypackets may be dropped, or the sources of data are requested to reducedata rate by using text instead of video to convey high prioritymessages (if both are available). In some embodiments, adjustments ofbuffer and packet delay includes avoiding buffering of local data byshutting off one or more local applications such as music play in thecommunication device such as user device 102. In this example, the videodownload happening at the background of the user device 102 may be shutdown by revoking the application associated with the video download.Revoking an application here may include pausing an application.

Further the one or more messages in the communication device may bemanaged based on the queuing and the dynamic allocation of resources. Inthe exemplary scenario, the communication device (user device 102)transmits the one or more messages based on the queuing and the dynamicallocation of resources. Thus, as a result, all the backgroundcommunications occurring in the user device 102 such as any update,upload or download and the like automatically take lesser precedenceover the critical message and the critical message is conveyed withoutinterruption.

FIG. 2 is a block diagram illustrating a device for managing messages ina communication device in accordance with some embodiments of thepresent disclosure. The intelligent messenger device (IMD) 200illustrated herein is similar to the IMD 102A of system 100 asillustrated in FIG. 1. The IMD 200 comprises a processor 202, a memory204, a transceiver 206, an NLP unit 208, a critical message detectionunit 210, a context determination unit 212, a resource prediction unit214, a message prioritizing unit 216, a message managing unit 218, anuser interface unit 220 an input/output unit 222 and an applicationregister unit 224. The processor 202 may be communicatively coupled tothe memory 204, the transceiver 206 and the various units from 208-224.

The processor 202 comprises suitable logic, circuitry, and interfacesthat may be configured to execute a set of instructions stored in thememory 204. The processor 202 may be implemented based on a number ofprocessor technologies known in the art. Examples of the processor 202include, but not limited to, an X86-based processor, a ReducedInstruction Set Computing (RISC) processor, an Application-SpecificIntegrated Circuit (ASIC) processor, a Complex Instruction Set Computing(CISC) processor, and/or other processor.

The memory 204 comprises suitable logic, circuitry, interfaces, and/orcode that may be configured to store the set of instructions, which maybe executed by the processor 202. In an embodiment, the memory 204 maybe configured to store one or more programs, routines, or scripts thatmay be executed In coordination with the processor 202. The memory 204may be implemented based on a Random Access Memory (RAM), a Read-OnlyMemory (ROM), a Hard Disk Drive (HDD), a storage server, and/or a SecureDigital (SD) card.

The intelligent messenger device 200 may include a natural languageprocessing (NLP) unit 208 that may comprise suitable logic, circuitry,and interfaces that may be configured to parse messages that are textualin nature. In some embodiments, the natural language procession unit 208may convert messages such as video or image or sound into text messagesand parse the text messages.

The intelligent messenger device 200 may include a critical messagedetection unit 210 comprising suitable logic, circuitry, interfaces,and/or code that may be configured to receive the one or more messagesthat have been parsed from the NLP unit 208. The critical messagedetection unit 210 may identify one or more critical content in the oneor more messages. The critical message detection unit 210 may determineone or more critical messages based on the identification. The criticalmessage detection unit 210 may determine the one or more criticalmessages based on one or more predefined keywords and select them forfurther analysis by the context determination unit 212. In someembodiments, the critical message detection unit 210 may determinecritical content of the one or more messages received via acommunication device associated with the intelligent messenger device200. In some embodiments, the critical message detection unit 210 mayassign a vocabulary weight to each of the one or more critical contentassociated with the one or more messages received by the communicationdevice. In an embodiment, the critical message detection unit 210 mayassign vocabulary weight to each of the one or more critical content isbased on pre-defined weight associated with the one or more pre-definedkeywords.

The intelligent messenger device 200 may include a context determinationunit 212 that may comprise suitable logic, circuitry, interfaces, and/orcode that may be configured to analyze the one or more messages based oncontext. In some embodiment the context determination unit 212 mayreceive the one or more critical messages that have been identified bythe critical message detection unit 210. In some embodiments, contextdetermination unit 212 that may assign a context weight to the one ormore critical messages by contextual analysis of the messages usingnatural language processing (NLP). In some embodiments, contextdetermination unit 212 may assign a context weight based on sentimentanalysis of the one or more critical messages using the convolutionalneural network (CNN). In some embodiments, context determination unit212 that may assign a context weight to the one or more criticalmessages based on sentiment analysis and contextual analysis of themessages using natural language processing.

The intelligent messenger device 200 may include a resource predictionunit 214. The resource prediction unit 214 may be configured to performprediction of buffer availability. In some embodiments the resourceprediction unit 214 may perform prediction of the delay & jitter limitof failure with the Adaptive Resonance Theory (ART) neural network orself-organizing map (SOM) neural network as shown in the FIG. 2A. Thedata packets arriving from different sources form a pattern that islearnt by a recurrent neural network (RNN). The RNN maintains historicaldata that helps in observing the variations over a period and arrive ata temporal pattern. These patterns are fed to an ART/SOM network toclassify the status of the buffer a few steps ahead of time. Input ofthe system consists of the present buffer size, the packet delay and thedelay variation. The output is the predicted state of the buffer for afuture instant as shown in FIG. 2A as way of example, which may bepredicted as “buffer full”, “almost full”, or “enough buffer space”.

The Intelligent messenger device 200 may include a message prioritizingunit 216 that may comprise suitable logic, circuitry, interfaces, and/orcode that may be configured to assign priority to the one or morecritical messages. In some embodiments, the message prioritizing unit214 may determine the priority of the one or more critical messagesbased on the vocabulary weight and the context weight of the one or morecritical messages. In some embodiments, the message prioritizing unit216 may determine priority of the one or more critical messages based onthe sentiment, the vocabulary weight and the context weight as shown inFIG. 2B. In some embodiments, the message prioritizing unit 216 mayassign priorities to the one or more messages based on classificationinto various classes. In an example, the classification may be naturaldisaster, personal emergency, entertainment and the like which may havetheir own priorities. The message prioritizing unit 216 may use aheterogeneous classifier to map the input text, video or image messagesto the various message bins. The one or more critical messages may bechecked if it falls in to any of the predetermined bins such as naturaldisaster, personal emergency, medical, entertainment etc. In an example,the priorities may be in the descending order with personal emergencybin ranking highest, then followed by medical bin, natural disaster bin,and so on.

In some embodiments, an other messages unit (not shown in Fig) mayreceive one or more messages for various other applications or sourcesrelated to the communication device. In some embodiments, messageprioritizing unit 216 may receive messages from the other messages unit(not shown in Fig) and assign priorities to the one or more messages. Insome embodiments, the message prioritizing unit 216 may queue themessages based on the priorities of the each of the messages. In anexample, among the high priority bins, if there are two or more messagesfrom different sources having same priority then priority may beassigned for text over image and video. Among the high priority bins, ifthere are two or more messages from different sources in thecommunication device having same priority then messages falling underthe personal emergency bin would have higher priority over the messagefalling under the entertainment bin.

The intelligent messenger device 200 may include a message managing unit218 that may comprise suitable logic, circuitry, interfaces, and/or codethat may be configured to manage the one or more messages. In someembodiments, the message managing unit 218 may transmit one or moremessages based on the queuing and dynamic allocation of resources basedon the resource prediction done by the resource prediction unit 214. Insome embodiments, the message managing unit 218 may receive one or moremessages in the communication device and alert the user of thecommunication device based on the queuing and dynamic allocation ofresources based on the resource prediction done by the resourceprediction unit 214. In some embodiments, the message managing unit 218dynamically allocate resources by one of invocation or revocation of oneor more application running in the communication device such as userdevice 102. In some embodiments, based on the prediction of bufferavailability by the resource prediction unit 214, the message managingunit 218 may drop low priority packets from the queue. In someembodiments, based on the prediction of buffer availability by themessage managing unit 218, may be configured to shut down one or moreapplications to avoid buffering of data. In some embodiments, in absenceof critical messages in the queue the message managing unit 218 mayinvoke the one or more applications that was revoked for transmission ofone or more critical messages. The application register unit 224 mayprovide necessary information on buffer utilization of variousapplications running at the backend of the user device 102. In someembodiments, the message managing unit 218 may be configured to requestto reduce data rate by using text instead of video to convey highpriority the user interface unit 220. In some, embodiments, the user mayselect video/voice or text message option via the input/output unit 222.

Further, the transceiver 206 comprises suitable logic, circuitry, andinterfaces that may be configured to retrieve a set of operationsassociated with the communication device to transmit or receive one ormore messages. The transceiver 206 may be configured to receive one ormore messages. The transceiver 206 may be configured to transmit one ormore messages. In some embodiments, the transceiver 206 may transmit orreceive the critical messages based on resource allocation andavailability as predicted by resource prediction unit 214. Thetransceiver 206 may implement one or more known technologies to supportwired or wireless communication with the communication network. In anembodiment, the transceiver 206 may include, but is not limited to, anantenna, a radio frequency (RF) transceiver, one or more amplifiers, atuner, one or more oscillators, a digital signal processor, a UniversalSerial Bus (USB) device, a coder-decoder (CODEC) chipset, a subscriberidentity module (SIM) card, and/or a local buffer.

The transceiver 206 may communicate via wireless communication withnetworks, such as the Internet, an Intranet and/or a wireless network,such as a cellular telephone network, a wireless local area network(LAN) and/or a metropolitan area network (MAN). The wirelesscommunication may use any of a plurality of communication standards,protocols and technologies, such as: Global System for MobileCommunications (GSM), Enhanced Data GSM Environment (EDGE), widebandcode division multiple access (W-CDMA), code division multiple access(CDMA), time division multiple access (TDMA), Bluetooth, WirelessFidelity (Wi-Fi) (e.g., IEEE 802.11a, IEEE 802.11b, IEEE 802.11g and/orIEEE 802.11n), voice over Internet Protocol (VoIP), Wi-MAX, a protocolfor email, instant messaging, and/or Short Text message Service (SMS).

The user interface unit 220 may include suitable logic, circuitry,interfaces, and/or code that may be configured to provide the necessaryuser interfaces for the clients to provide various input options to auser of the communication device such as user device 102. In someembodiments the user interface unit 220 may work in conjunction with thetransmitter and display messages that have been prioritized or delayedbased on the priority.

The intelligent messenger device 200 may include an Input/Output (I/O)unit 222 that comprises suitable logic, circuitry, and interfaces thatmay be configured to receive an input or provide an output. TheInput/Output (I/O) unit 222 comprises various input and output devicesthat are configured to communicate with the processor 202. Examples ofthe input devices include, but are not limited to, a keyboard, a mouse,a joystick, a touch screen, a microphone, and/or a docking station.Examples of the output devices include, but are not limited to, adisplay screen and/or a speaker. In an embodiment, the I/O unit 222 maywork in conjunction with the user interface module 218 to provide theuser an interface to the user for providing inputs and to receiveoutputs.

The intelligent messenger device 200 may include an application registerunit 224 that registers various applications running on the user device102. It includes video, if any, associated with message, applicationsdownloading videos such as movies, music and other multimedia content.In some embodiments, intelligent messenger device 200 maintains statusof one or more applications in the application register unit 224.Applications such as video, music or any other upload or download at thebackground of the communication device hosting the intelligent messengerdevice 200 may have their status maintained in the application registerunit 224.

In operation, the intelligent messenger device 200 may receive one ormore messages via the user device 102 that the user is transmitting orreceiving. The NLP unit 208 receives the one or messages and parses theminto tokens. In an example, the message received by the NLP unit 208 maybe “Hurry! Call the ambulance!”. The message may be parsed into tokenssuch as “Hurry”, “Ambulance” and “call”. The critical message detectionunit 210 may determine one or more critical contents in the messagebased on comparing the parsed message as received from the NLP unit 208with a vocabulary database. In the preceding example, the criticalcontents identified may be “ambulance” and “hurry”. In some embodiments,the critical message detection unit 210 may compare the tokens with avocabulary database to determine its vocabulary weight. The vocabularydatabase includes pre-defined weight associated with the one or morepre-defined keywords. The predefined keywords may be words indicative ofurgency or criticality in a message. Words such as “urgent”,“emergency”, “accident”, “help” and any other word that may indicateseriousness of an issue may be listed in the vocabulary database. In anexample the word “Fire” may be assigned a criticality weight of 0.4while “pain” may be assigned as 0.7. In the example as given the word“ambulance” may have high vocabulary weight of 1. In some embodimentsany tokens or combination of tokens in the message having associatedvocabulary weight threshold of more than 0.7 may qualify as criticalcontent and thereby the message may be identified as a critical message.In an example the word pain may have criticality weight of 0.5 while thewords severe pain may have vocabulary weight of 1.

In some embodiments, the parsed text resulting in tokens are comparedwith the vocabulary database to get a latent semantic index (LSI). Basedon a threshold say 0.5, the highest matching term is taken as similarterm. Thus, any words can be mapped to an equivalent word in storedvocabulary. In some embodiments, for video message, captions may begenerated using a trained convolutional neural network (CNN). Thecaptions which are in text form, will undergo parsing in NLP unit 208 toget the tokens. The tokens are then mapped to the vocabulary database ofthe critical message detection unit 210 to detect critical content inthe one or more messages.

The context determination unit 212 may then determine the context weightof the identified one or more critical messages. The contextdetermination unit 212 may determine the context weight based oncontextual analysis of the messages using natural language processing.In some embodiments, previous messages such as previous utterances by auser in a voice call or video is subjected to contextual analysis. Insome embodiments context determination unit 212 may be configured toestimate associated sentiments of the one or more messages andhistorical messages associated with a communication session with atrained convolutional neural network (CNN). The sentiments may modulatethe vocabulary weight of the critical content, as determined by thecritical message detection unit 210. In some embodiments, for videomessages, duration of the video, rapidity of movements, emotion in thetone and audio level may be considered to determine context weight ofthe message. In some embodiments, if the past messages in acommunication session or associated communication session includescritical content then this may increase the context weight associatedwith the critical message. In an example, if user A's past conversationhave contained the critical contents such as “emergency”, “fire”, “help”“hurry” then the contextual weight of the message may be high due to thepresence of a number of critical contents. In an example the contextweight may be the sum total of vocabulary weight of the criticalcontents in the one or more messages with in the past ten minutes.

The resource prediction unit 214 may perform prediction of bufferavailability as explained earlier in conjunction with FIG. 2A. Themessage prioritizing unit 216 may determine priority for each of the theone or more messages based on the context weight that is modulated bythe vocabulary weight. In some embodiments, the message prioritizingunit 216 may assign priority to the one or more critical messages basedon the sentiment, vocabulary weight and context weight. The messageprioritizing unit 214, may generate a priority for each of the one ormore critical messages. The message prioritizing unit 214, may queue themessages based on the priority of the each of the one or more criticalmessages. The one or more critical messages may be an image, audio ortext message. In some embodiment, if more than one modality of messageoriginates from the same source, for example the user device 102, thehighest weight message is picked up for transmission first. In someembodiments, the message prioritizing unit 214 may queue the messages inaccordance to the priority of the each of the messages which may includecritical messages. In accordance to some embodiments, messages fromdifferent sources in the communication device (e.g. user device 102) andhistorical messages within a predefined time period may be consideredfor the purpose of queuing. In some embodiments, as shown in FIG. 2c themessage prioritizing unit 214 may provide the input of buffer predictionand priority to the CNN and manage the one or more messages by eithertransmission or reception of message based on the implementation of thedisclosure. In some embodiments, if the criticality in the message isresolved with the lapse of time, the message priority is reduced basedon the vocabulary weight and the context weight.

In accordance to some embodiments, a convoluted neural network (CNN) isinitially trained with inputs such as messages that may include video,images and audio (as text features or word embeddings), vocabularydatabase and free buffer space. During deployment, when the message hasno video, the buffer input channel may be switched off. The CNN networkmay be trained to associate sentiment with audio or text well.

In some embodiments, if a message which may be a video, contend withanother video of high priority, the bandwidth may be shared proportionalto their relative priorities. In an example, if more than one message isdirected to the same recipient, the most informative message may get thehigher priority. The information is assessed based on the priority ofthe message. This assessment may be done by the other messages unit (notshown in Fig) before allocation of resources by the resource predictionunit 216. Similarly, if the two or more messages are directed to thesame recipient have common information, the most informative may havethe higher priority. In case of video or image messages this isdetermined by converting the video or images in to text and comparedwith the native text messages.

The message managing unit 218 may consider the ongoing task of thecommunication device such as user device 102 with the help of theapplication register unit 224. The message managing unit 218 maydynamically allocate resources by adjusting at least one of packetbuffer, and packet delay associated with the communication device basedon the priority index of the one or more messages in the queue. In someembodiments, the message managing unit 218 may adjusting packet bufferand/or packet delay based on invocation or revocation of one or moreapplication running in the communication device.

FIG. 3 illustrates an exemplary sequence diagram for managing message ina communication device in accordance with some embodiments consistentwith the present disclosure. The sequence diagram of FIG. 3 illustratesa sequence of steps by which priority of the critical messages may beassigned based on content and context and thereby the critical messagesmay be allocated resources for transmission or reception based on thequeuing and allocated resources. Further, the one or more messages maybe queued based on their priority and thereby managed by transmitting orreceiving via the communication device based on allocated resources.

A method 300 for managing messages in a communication device by anintelligent messenger device such as intelligent messenger device 200 inaccordance with some embodiments of the present disclosure provided inthe flowchart of FIG. 3 At step 302, intelligent messenger device 200may receive one or more messages through a communication device. The oneor more messages may include at least one of audio, video, and textmessages. At step 304 the intelligent messenger device 200 may identifydynamically one or more critical content in the one or more messages anddetermine one or more critical messages based on the identification. Theidentification of one or more critical content may be done by firstperforming natural language processing and converting the text of themessage into tokens. The tokens may be mapped to a vocabulary databasecontaining predefined keywords with assigned predefined weights. Thecritical content may be determined by identifying the presence ofkeywords with high predefined weight. Based on the presence of the oneor more critical content presence of one or more critical messages maybe detected.

At step 306, the intelligent messenger device 200 may analyze the one ormore critical messages based on the context and content associated withthe one or more critical messages and assign vocabulary weight to eachof the one or more critical content and a context weight to the criticalmessage. In some embodiments, vocabulary weight may be assigned to eachof the one or more critical content is based on pre-defined weightassociated with the one or more pre-defined keywords. In someembodiments, the context weight is assigned based on sentiment analysisof the one or more critical messages using the convolutional neuralnetwork (CNN) and contextual analysis of the messages using naturallanguage processing (NLP).

At step 308 the intelligent messenger device 200 may generate a priorityto each of the one or more critical messages based on the analysis. Atstep 310, the one or more messages may be queued by the intelligentmessenger device 200, based on the priority of each of the one or morecritical messages. In some embodiments, the queuing may be based on atleast one of historical information such as messages in a communicationsession or previous communication sessions within a predetermined timeinterval, presence of one or more critical messages in the packet bufferand availability of the packet buffer associated with the communicationdevice.

At step 312, intelligent messenger device 200 may dynamically allocateresources by adjusting at least one of packet buffer, and packet delayassociated with the communication device based on the priority of theone or more messages in the queue. Further at step 214, the one or moremessages may be managed by way of transmission or reception in thecommunication device based on the queuing and the dynamic allocation ofresources.

Computer System

FIG. 4 illustrates a block diagram of an exemplary computer system forimplementing embodiments consistent with the present disclosure.Variations of computer system 401 may be used for managing one or moremessages in a communication device. The computer system 401 may comprisea central processing unit (“CPU” or “processor”) 402. The processor 402may comprise at least one data processor for executing programcomponents for executing user-generated or system-generated requests. Auser may include a person, a person using a device such as such as thoseincluded in this disclosure, or such a device itself. The processor 402may include specialized processing units such as integrated system (bus)controllers, memory management control units, floating point units,graphics processing units, digital signal processing units, etc. Theprocessor may include a microprocessor, such as AMD Athlon, Duron orOpteron, ARM's application, embedded or secure processors, IBM PowerPC,Intel's Core, Itanium, Xeon, Celeron or other line of processors, etc.The processor 402 may be implemented using mainframe, distributedprocessor, multi-core, parallel, grid, or other architectures. Someembodiments may utilize embedded technologies like application-specificintegrated circuits (ASICs), digital signal processors (DSPs), FieldProgrammable Gate Arrays (FPGAs), etc.

The processor 402 may be disposed in communication with one or moreinput/output (I/O) devices via I/O interface 403. The I/O interface 403may employ communication protocols/methods such as, without limitation,audio, analog, digital, monoaural, RCA, stereo, IEEE-1394, serial bus,universal serial bus (USB), infrared, PS/2, BNC, coaxial, component,composite, digital visual interface (DVI), high-definition multimediainterface (HDMI), RF antennas, S-Video, VGA, IEEE 802.n/b/g/n/x,Bluetooth, cellular (e.g., code-division multiple access (CDMA),high-speed packet access (HSPA+), global system for mobilecommunications (GSM), long-term evolution (LTE), WiMax, or the like),etc.

Using the I/O interface 403, the computer system 401 may communicatewith one or more I/O devices. For example, the input device 404 may bean antenna, keyboard, mouse, joystick, (infrared) remote control,camera, card reader, fax machine, dongle, biometric reader, microphone,touch screen, touchpad, trackball, sensor (e.g., accelerometer, lightsensor, GPS, gyroscope, proximity sensor, or the like), stylus, scanner,storage device, transceiver, video device/source, visors, etc. Outputdevice 405 may be a printer, fax machine, video display (e.g., cathoderay tube (CRT), liquid crystal display (LCD), light-emitting diode(LED), plasma, or the like), audio speaker, etc. In some embodiments, atransceiver 406 may be disposed in connection with the processor 402.The transceiver may facilitate various types of wireless transmission orreception. For example, the transceiver may include an antennaoperatively connected to a transceiver chip (e.g., Texas InstrumentsWiLink WL1283, Broadcom BCM4750IUB8, Infineon Technologies X-Gold618-PMB9800, or the like), providing IEEE 802.11a/b/g/n, Bluetooth, FM,global positioning system (GPS), 2G/3G HSDPA/HSUPA communications, etc.

In some embodiments, the processor 402 may be disposed in communicationwith a communication network 408 via a network interface 407. Thenetwork interface 407 may communicate with the communication network408. The network interface 407 may employ connection protocolsincluding, without limitation, direct connect, Ethernet (e.g., twistedpair 10/100/1000 Base T), transmission control protocol/internetprotocol (TCP/IP), token ring, IEEE 802.11a/b/g/n/x, etc. Thecommunication network 408 may include, without limitation, a directinterconnection, local area network (LAN), wide area network (WAN),wireless network (e.g., using Wireless Application Protocol), theInternet, etc. Using the network interface 407 and the communicationnetwork 408, the computer system 401 may communicate with devices 610,611, and 612. These devices may include, without limitation, personalcomputer(s), server(s), fax machines, printers, scanners, various mobiledevices such as cellular telephones, smartphones (e.g., Apple iPhone,Blackberry, Android-based phones, etc.), tablet computers, eBook readers(Amazon Kindle, Nook, etc.), laptop computers, notebooks, gamingconsoles (Microsoft Xbox, Nintendo DS, Sony PlayStation, etc.), or thelike. In some embodiments, the computer system 401 may itself embody oneor more of these devices.

In some embodiments, the processor 402 may be disposed in communicationwith one or more memory devices referred in the FIG. 6 as Memory 615(e.g., RAM 613, ROM 614, etc.) via a storage interface 612. The storageinterface 802 may connect to memory devices including, withoutlimitation, memory drives, removable disc drives, etc., employingconnection protocols such as serial advanced technology attachment(SATA), integrated drive electronics (IDE), IEEE-1394, universal serialbus (USB), fiber channel, small computer systems interface (SCSI), etc.The memory drives may further include a drum, magnetic disc drive,magneto-optical drive, optical drive, redundant array of independentdiscs (RAID), solid-state memory devices, solid-state drives, etc.

The memory devices may store a collection of program or databasecomponents, including, without limitation, an operating system 616, userinterface application 617, web browser 618, mail server 619, mail client620, user/application data 621 (e.g., any data variables or data recordsdiscussed in this disclosure), etc. The operating system 616 mayfacilitate resource management and operation of the computer system 401.Examples of operating systems include, without limitation, AppleMacintosh OS X, UNIX, Unix-like system distributions (e.g., BerkeleySoftware Distribution (BSD), FreeBSD, NetBSD, OpenBSD, etc.), Linuxdistributions (e.g., Red Hat, Ubuntu, Kubuntu, etc.), IBM OS/2,Microsoft Windows (XP, Vista/7/8, etc.), Apple iOS, Google Android,Blackberry OS, or the like. User Interface 617 may facilitate display,execution, interaction, manipulation, or operation of program componentsthrough textual or graphical facilities. For example, user interfacesmay provide computer interaction interface elements on a display systemoperatively connected to the computer system 401, such as cursors,icons, check boxes, menus, scrollers, windows, widgets, etc. Graphicaluser interfaces (GUIs) may be employed, including, without limitation,Apple Macintosh operating systems' Aqua, IBM OS/2, Microsoft Windows(e.g., Aero, Metro, etc.), Unix X-Windows, web interface libraries(e.g., ActiveX, Java, Javascript, AJAX, HTML, Adobe Flash, etc.), or thelike.

In some embodiments, the computer system 401 may implement a web browser618 stored program component. The web browser 618 may be a hypertextviewing application, such as Microsoft Internet Explorer, Google Chrome,Mozilla Firefox, Apple Safari, etc. Secure web browsing may be providedusing HTTPS (secure hypertext transport protocol), secure sockets layer(SSL), Transport Layer Security (TLS), etc. Web browsers may utilizefacilities such as AJAX, DHTML, Adobe Flash, JavaScript, Java,application programming interfaces (APIs), etc. In some embodiments, thecomputer system 401 may implement a mail server 619 stored programcomponent. The mail server 619 may be an Internet mail server such asMicrosoft Exchange, or the like. The mail server may utilize facilitiessuch as ASP, ActiveX, ANSI C++/C#, Microsoft .NET, CGI scripts, Java,JavaScript, PERL, PHP, Python, WebObjects, etc. The mail server 619 mayutilize communication protocols such as internet text message accessprotocol (IMAP), messaging application programming interface (MAPI),Microsoft Exchange, post office protocol (POP), simple mail transferprotocol (SMTP), or the like. In some embodiments, the computer system401 may implement a mail client 620 stored program component. The mailclient 620 may be a mail viewing application, such as Apple Mail,Microsoft Entourage, Microsoft Outlook, Mozilla Thunderbird, etc.

In some embodiments, computer system 401 may store user/application data621, such as the data, variables, records, etc. as described in thisdisclosure. Such databases may be implemented as fault-tolerant,relational, scalable, secure databases such as Oracle or Sybase.Alternatively, such databases may be implemented using standardized datastructures, such as an array, hash, linked list, structured text file(e.g., XML), table, or as object-oriented databases (e.g., usingObjectStore, Poet, Zope, etc.). Such databases may be consolidated ordistributed, sometimes among the various computer systems discussedabove in this disclosure. It is to be understood that the structure andoperation of the any computer or database component may be combined,consolidated, or distributed in any working combination.

The specification has described a method and device of managing messagesin a communication device. The illustrated steps are set out to explainthe exemplary embodiments shown, and it should be anticipated thatongoing technological development will change the manner in whichparticular functions are performed. These examples are presented hereinfor purposes of illustration, and not limitation. Further, theboundaries of the functional building blocks have been arbitrarilydefined herein for the convenience of the description. Alternativeboundaries can be defined so long as the specified functions andrelationships thereof are appropriately performed. Alternatives(including equivalents, extensions, variations, deviations, etc., ofthose described herein) will be apparent to persons skilled in therelevant art(s) based on the teachings contained herein. Suchalternatives fall within the scope and spirit of the disclosedembodiments

Furthermore, one or more computer-readable storage media may be utilizedin implementing embodiments consistent with the present invention. Acomputer-readable storage medium refers to any type of physical memoryon which information or data readable by a processor may be stored.Thus, a computer-readable storage medium may store instructions forexecution by one or more processors, including instructions for causingthe processor(s) to perform steps or stages consistent with theembodiments described herein. The term “computer-readable medium” shouldbe understood to include tangible items and exclude carrier waves andtransient signals, i.e., non-transitory. Examples include Random AccessMemory (RAM), Read-Only Memory (ROM), volatile memory, nonvolatilememory, hard drives, Compact Disc (CD) ROMs, Digital Video Disc (DVDs),flash drives, disks, and any other known physical storage media.

While, the present state of art mechanism fails to identify the urgencyof messages based on its content and assigning (high) prioritydynamically (for a short while if it is critical), especially at theedge of the network, the present invention prioritizes messages based oncontent and context analysis. Further the present invention is capableof allocating resources for seamless transmission or reception ofcritical messages sent by users. Deriving the content & context-basedinformation from the message in real-time is in itself a challenge. Incase of video messages/live videos having critical/urgency information,prioritization of delivery of such messages are important and are beingaddressed in the present disclosure. Further, the present disclosure iscapable of dynamically allocating resources based on priority ofmessages and hence can release the resources once the criticality ofsituation has passed.

The terms “an embodiment”, “embodiment”, “embodiments”, “theembodiment”, “the embodiments”, “one or more embodiments”, “someembodiments”, and “one embodiment” mean “one or more (but not all)embodiments of the invention(s)” unless expressly specified otherwise.The terms “including”, “comprising”, “having” and variations thereofmean “including but not limited to”, unless expressly specifiedotherwise. The terms “a”, “an” and “the” mean “one or more”, unlessexpressly specified otherwise.

A description of an embodiment with several components in communicationwith each other does not imply that all such components are required. Onthe contrary a variety of optional components are described toillustrate the wide variety of possible embodiments of the invention.

Finally, the language used in the specification has been principallyselected for readability and instructional purposes, and it may not havebeen selected to delineate or circumscribe the inventive subject matter.It is therefore intended that the scope of the invention be limited notby this detailed description, but rather by any claims that issue on anapplication based here on. Accordingly, the embodiments of the presentinvention are intended to be illustrative, but not limiting, of thescope of the invention, which is set forth in the following claims.

While various aspects and embodiments have been disclosed herein, otheraspects and embodiments will be apparent to those skilled in the art.The various aspects and embodiments disclosed herein are for purposes ofillustration and are not intended to be limiting, with the true scopeand spirit being indicated by the following claims.

The present disclosure may be realized in hardware, or a combination ofhardware and software. The present disclosure may be realized in acentralized fashion, in at least one computer system, or in adistributed fashion, where different elements may be spread acrossseveral interconnected computer systems. A computer system or otherapparatus adapted for carrying out the methods described herein may besuited. A combination of hardware and software may be a general-purposecomputer system with a computer program that, when loaded and executed,may control the computer system such that it carries out the methodsdescribed herein. The present disclosure may be realized in hardwarethat comprises a portion of an integrated circuit that also performsother functions.

A person with ordinary skills in the art will appreciate that thesystems, modules, and sub-modules have been illustrated and explained toserve as examples and should not be considered limiting in any manner.It will be further appreciated that the variants of the above disclosedsystem elements, modules, and other features and functions, oralternatives thereof, may be combined to create other different systemsor applications.

Those skilled in the art will appreciate that any of the aforementionedsteps and/or system modules may be suitably replaced, reordered, orremoved, and additional steps and/or system modules may be inserted,depending on the needs of a particular application. In addition, thesystems of the aforementioned embodiments may be implemented using awide variety of suitable processes and system modules, and are notlimited to any particular computer hardware, software, middleware,firmware, microcode, and the like. The claims can encompass embodimentsfor hardware and software, or a combination thereof.

While the present disclosure has been described with reference tocertain embodiments, it will be understood by those skilled in the artthat various changes may be made and equivalents may be substitutedwithout departing from the scope of the present disclosure. In addition,many modifications may be made to adapt a particular situation ormaterial to the teachings of the present disclosure without departingfrom its scope. Therefore, it is intended that the present disclosurenot be limited to the particular embodiment disclosed, but that thepresent disclosure will include all embodiments falling within the scopeof the appended claims.

1. A method of managing messages in a communication device, the methodcomprising: receiving, by an intelligent messenger device, one or moremessages via a communication device; identifying dynamically, by theintelligent messenger device, one or more critical content in the one ormore messages and determining one or more critical messages based on theidentification; analyzing, by the intelligent messenger device, the oneor more critical messages based on the content and context associatedwith the one or more critical messages and assigning vocabulary weightto each of the one or more critical content and a context weight to thecritical message; generating, by the intelligent messenger device, apriority to each of the one or more critical messages based on theanalysis; queuing, by the intelligent messenger device, the one or moremessages based on the priority of each of the one or more criticalmessages and at least one of historical information, presence of one ormore critical messages in a packet buffer associated with thecommunication device and availability of the packet buffer associatedwith the communication device; dynamically allocating resources, by theintelligent messenger device, by adjusting at least one of the packetbuffer, and packet delay associated with the communication device basedon the priority of the one or more messages in the queue; and managing,by the intelligent messenger device, the one or more messages in thecommunication device based on the queuing and the dynamic allocation ofresources.
 2. The method as claimed in claim 1, wherein the managingcomprises at least one of transmitting and receiving the one or moremessages via the communication device.
 3. (canceled)
 4. The method asclaimed in claim 1, wherein the one or more messages comprise at leastone of audio, video, and text messages.
 5. The method as claimed inclaim 1, wherein the one or more critical content is identified based onone or more predefined keywords and wherein assigning the vocabularyweight to each of the one or more critical content is based onpre-defined weight associated with the one or more pre-defined keywords.6. The method as claimed in claim 1, wherein the context weight isassigned based on sentiment analysis of the one or more criticalmessages using a convolutional neural network (CNN) and contextualanalysis of the messages using natural language processing (NLP).
 7. Themethod as claimed in claim 1, wherein dynamically allocating theresources further comprises one of invocation or revocation of one ormore application running in the communication device.
 8. An intelligentmessenger device for managing messages in a communication devicecomprising: a processor; and a memory communicatively coupled to theprocessor, wherein the memory stores processor-executable instructions,which, on execution, causes the processor to: receive one or moremessages via a communication device; identify dynamically one or morecritical content in the one or more messages and determining one or morecritical messages based on the identification; analyze the one or morecritical messages based on the content and context associated with theone or more critical messages and assigning vocabulary weight to each ofthe one or more critical content and a context weight to the criticalmessage; generate a priority to each of the one or more criticalmessages based on the analysis; queue the one or more messages based onthe priority of each of the one or more critical messages and at leastone of historical information, presence of one or more critical messagesin the packet buffer and availability of the packet buffer associatedwith the communication device; dynamically allocate resources byadjusting at least one of packet buffer, and packet delay associatedwith the communication device based on the priority index of the one ormore messages in the queue; and manage the one or more messages in thecommunication device based on the queuing and the dynamic allocation ofresources.
 9. The device as claimed in claim 8, wherein the managingcomprises at least one of transmitting and receiving the one or moremessages via the communication device.
 10. (canceled)
 11. The device asclaimed in claim 8, wherein the one or more messages comprise at leastone of audio, video, and text messages.
 12. The device as claimed inclaim 8, wherein the one or more critical content is identified based onone or more predefined keywords and wherein assigning the vocabularyweight to each of the one or more critical content is based on apre-defined weight associated with the one or more pre-defined keywords.13. The method as claimed in claim 8, wherein the context weight isassigned based on sentiment analysis of the one or more criticalmessages using a convolutional neural network (CNN) and contextualanalysis of the messages using natural language processing (NLP). 14.The device as claimed in claim 8, wherein dynamically allocating theresources further comprises one of invocation or revocation of one ormore application running in the communication device.
 15. Anon-transitory computer-readable medium storing computer-executableinstructions for managing messages in a communication device, thecomputer-executable instructions configured for: receiving one or moremessages via a communication device; identifying by the intelligentmessenger device, one or more critical content in the one or moremessages and determining one or more critical messages based on theidentification; analysing the one or more critical messages based on thecontent and context associated with the one or more critical messagesand assigning vocabulary weight to each of the one or more criticalcontent and a context weight to the critical message; generating apriority to each of the one or more critical messages based on theanalysis; queuing the one or more messages based on the priority of eachof the one or more critical messages and at least one of historicalinformation, presence of one or more critical messages in the packetbuffer and availability of the packet buffer associated with thecommunication device; dynamically allocating resources by adjusting atleast one of the packet buffer, and packet delay associated with thecommunication device based on the priority of the one or more messagesin the queue; and managing the one or more messages in the communicationdevice based on the queuing and the dynamic allocation of resources. 16.The non-transitory computer-readable medium of claim 15, wherein themanaging comprises at least one of transmitting and receiving the one ormore messages via the communication device.
 17. (canceled)
 18. Thenon-transitory computer-readable medium of claim 15, wherein the one ormore critical content is identified based on one or more predefinedkeywords and wherein assigning the vocabulary weight to each of the oneor more critical content is based on a pre-defined weight associatedwith the one or more pre-defined keywords.
 19. The non-transitorycomputer-readable medium of claim 15, wherein the context weight isassigned based on sentiment analysis of the one or more criticalmessages using a convolutional neural network (CNN) and contextualanalysis of the messages using natural language processing (NLP). 20.The non-transitory computer-readable medium of claim 15, whereindynamically allocating the resources further comprises one of invocationor revocation of one or more application running in the communicationdevice.